updates to deluged thin client script.