Trying To Print Whole Window Crashes