Added ability to change the current desktop.