Fixed rendering, image loading, and Gamewindow errors