Disconnect "cursor_changed" when clearing the treeview and make on_change() stop if the selection is empty. Fixes #11.
Merge pull request #28 from Falc/issue-11

Fix #11