add shortcut for undo
some bug fixes regarding undo
further improvements