a few window methods has been added. keyboard simple processing