Now deletes all scriptobjects on finish.

Also removed some comments