Clean up.
Cleanup.  Justin Azoff's recommendations.
Cleanup.

- Don't seem to need to call the goto on the window, the view is fine.
Cleanup from jump mode on deactivate of views.

- adds on_selection_modified handling and on_deactivated handling.
- puts a thread lock around the cleanup.
- fixes #29.