Adding firmware. Small changes to hardware.

The button connectors are missing a ground connection. Thought I could
do it with three, but it was a mistake.