256 fix exception selection notification

- Fixed exception when expanding a folder (Fixed #256)
- Fixed selection when expanding a folder.
- Triggers less "selection change" notification when expanding a folder.

@devoncarew