Changed format of MIDO_DEBUG_PARSE output and fixed a bug in the output.