prevent default actions for custom keys
added working version of edit/play modes in mapper tool