'Q' is MIDI Volume in this screenshot of a MIDI track header:

When you save a project as a MIDI file, the value of this control will be written to the file as a CC7 continuous controller event. Conversely, when you open such a file, the CC7=0 event will be read into the Volume control widget in SONAR and removed from the clip. Every time you start playback, SONAR sends a CC7 message on the basis of this control setting, so the result is the same as having the event in the MIDI clip.
But l'm starting to wonder why you're saving files as .MID at all. Are you working with these files in another application?