added rudimentary, non-working updateclientdesktop. code cleanups