make console not capture events (otherwise it blocks mouse)
fix undo -- don't undo to latest command