Use KeyEvent enums instead of hard coded Key values
Center window location