Several bug fixes

- Fixed a null reference exception in the `CSharpConsole` constructor
due to trying to log to itself.
- Fixed incorrect command history behavior.
- Added some missing information to the `help` command.
- Removed unneeded commented out code.
- Reformatted source code files.