Eliminate message<...> for common UDT serialization
Simplify MIDI header setup
Use vector<uint8_t> to manage current_music_hndlbuf
Fix -Wtype-limits warnings
Convert ai.cpp to use range_for
Convert gamemine.cpp to use range_for