Moved window event handling to Window component
Renamed Graphics class to Window