start of an event dispatcher
added incomplete dispatcher. moved WindowAllocated to WidgetBase. some painting is now visible since buffers are sent to the .Window buffer