beginning of key control, failed mouse control