Undoing your actions and deleting objects