Removed debugging output.
Fixed allocator bug that resulted in less than required memory being allocated and heap corruption.
Set input device in config.ini.
Added newline to "unrecognised command" error message.