@Override
        public void keyPressed(KeyEvent e) {
            keys[e.getKeyCode()] = true;
            // add key to queue for thread to send
            keystr.add("true:" + e.getKeyCode());
        }