Refactoring tune type commit. Tune Type is now an enum, so it can be used by other parts of the app (like MIDI).