Fixed some bugs, added debug pins

Two buttons work now after fixing the HW.
Seem to be a problem with the rest, probably
pressing two at a time.