Improved selection handling. Added deselect delegate callback.
Merge pull request #1 from wlisac/master

Improved selection handling. Added deselect delegate callback.