Added Events and EventHandlers for Window class.