- implemented focus handling for mouse control and keyboard event designation