@Override
    public final boolean dispatchKeyEvent(final KeyEvent e) {
        /* Prevent accidental commands by requiring CTRL to be held */
        if (!e.isControlDown()) {
            /* We have not consumed the event */
            return false;
        }

        /* Only register each command ONCE */
        if (e.getID() != KeyEvent.KEY_RELEASED) {
            /* We have not consumed the event */
            return false;
        }

        switch (e.getKeyCode()) {
            case KeyEvent.VK_Q:
            case KeyEvent.VK_W:
                /*
                 * Using JFrame.EXIT_ON_CLOSE will result in exactly the same
                 * call. Since we are using that flag, we should halt the
                 * application the same way anything else would.
                 */
                System.exit(0);
                return true;
            default:
                /* We have not consumed the event */
                return false;
        }
    }