Mainform.cpp code cleanup
Mainform.cpp: use arguments with correct type for addRealTimeNote
Add midi controls for layers (Gain & Pitch) and for instruments (CutOff)
Rework midi_action