New PCB; add AMP on/off; fix bugs

Support new PCB layout with amplifier on/off and audio plug detection.
Also fix MIDI C-2 bug and others.