Made KeySignature into an atom.
Merged master.