MIDI set_sync_client fix, cleanups, compilation fixes for gcc 2.95 - Alex