fixes collections, fix to editor to switch off debug draw when exiting editor, objects can be used as cursor objects, player can trigger use object on other object