Bugfix: #1

Turns out that the default value for character arrays is '\0' which
isn't equal to ' '. This is why .TrimEnd wasn't working in the first
place.