added includes for event classes in Dispatcher, made window config static variables header only friendly for visual studio