Synchronize the motion recorder and the root window
When unlinking a desktop clear the prev/next links