extract out the client-slicemgr code from mainscreen