Fixed issues with consolewin module main, testing console window and text input.