feature #11
added cursor_lock config option
feature #12
Merge pull request #6 from vheuken/master

Merging back