Command engine refactoring, updated external libraries.
Bugfixes. Implemented 'Focus on text' command.
Merge branch 'command-refactoring'