Fixed network import, added console window in Debug mode.