Basic framework and test for window creation and events.