Updating layer manager to add object to front of layer/fixing sub menu commands