Replaced the lid switch. Unfortunately it only fixed part of the problem. Once I was to get the washer to turn on, further diagnosis revealed the pump was clogged. A sock had managed to find its way there. Once the sock was removed, everything worked great.