Fixed #112, caused by buffer overflow in file loading
Merge pull request #116 from rdnelson/msg-fix

Fixed #112, caused by buffer overflow during file load.