Simplified control scheme (from keymask to set of pressed keys)
Rewrote action/control api