always cancel temppick when linking even if no object is selected. Some additional logic around what can be grouped and ungrouped, open or closed. Previous bug deleted objects when unlinked from world;