Merge pull request #9 from yoavst/master

save position and allow checking from outside
Fixed some bugs on selections
Merge branch 'saveInstanceState'
Merge pull request #1 from Arasthel/master

Sync with source