fix typos
update gui after keypress