Fixed thumbnail in setProfilePicture

Whoops!
Added SendGetClientConfig
Added SendClearDirty

and a hook in processInboundData