Fix for MidiModel, WhiteboardModel, enable Xlint

Allows MidiModel and WhiteboardModel to compile, properly and without
warnings. Everything should be compiled with Xlint. MidiModel probably
should be renamed to FileModel or something but that's not my decision.