Added a "Clear" button to reset the chord

The “Clear” button resets the chord back to its blank state. Cleaned up
stray comments as well.