Deleting objects now removes the properties menu.