Timeline: Don't die when undo function is used when no project is open or when there is nothing left to undo.