* fixed some basic issues
* added some modifications
* comments added
* TODO added (pointdragger reselection issue, please have a look)