Fixed some minor playing/recording problems.
Created the StaffMIDIPlayer class.
Refactored.