- fixed issues with hotkeys in viewer and editor
- fixed issues with next/prev image view
- code refactoring