Added a console window

This will be used for debugging, and adding parts.
Added a hook for the console