Fixed console input
- Resolved an issue where an extra \n was sent to the inferior for each command. For example: writing RIGHT in the console would send 'RIGHT\n\n' instead of 'RIGHT\n'. It caused trouble with get_line which would read 2 lines for only one command.
- Added a warning to get_next_command when returning NULL