Adds a key signature. but its wrong.
Adds key to bar. Re-orders functions.
Splits accidental symbols from notes. Correctly renders key signature. Tracks accidentals per bar.