This is the header, right? What spaces are you talking about? The spaces right after the colons? ie, X: 1 should be X:1 ?

See below for what I did. It still did not work in game. I did it to both the files with the extensions .abc and .txt

ORIGINAL HEADER
X: 1
T: from Skargand: beethoven 5th (2:34)
Z: Transcribed by LotRO MIDI Player: http://lotro.acasylum.com/midi
% Original file: beethoven_5th.mid
% Transpose: -11
% Tempo factor: 115%
L: 1/4
Q: 120
K: C

ALTERED HEADER
X:1
T:from Skargand: beethoven 5th (2:34)
Z:Transcribed by LotRO MIDI Player: http://lotro.acasylum.com/midi
%Original file: beethoven_5th.mid
%Transpose: -11
%Tempo factor: 115%
L:1/4
Q:120
K:C