add pygame window and events