Added simple setup for creating window and displaying graphics.