Optimized a bit gestures initialization code
Some styleguide fixes for gestures code
Fixed too long time-to-time tabs switching
More improvement to gestures code
Removed incorrect edit
Fixed build
Merge branch 'master' of github.com:qreal/qreal into optimizations
Merge pull request #1318 from dvvrd/optimizations

Optimizations