Improve mouse movement handling
Extend configuration