Added keyboard shortcut and control button mode check
Error line (if given) is highlighted in source code