Added a show_window function.