Fixed dummy window creation error and improved dummy error output.