updates for ESC key and CAPS LOCK