Code review, also added a function to set the window dimensions for the graphics manager