Merge "Don't applyState if taskbar is already destroyed" into tm-qpr-dev