Do not let the console close while Minecraft is running (prevent return to main window)