pub type WindowEventHandler = Box<dyn Fn(&WindowEvent) + Send>;