BUG: If undo was suspended, didn't actually execute function