Code cleanup
Added code for hiding cursor

Fixes #11