cleanup: moving stuff out of Application and AvatarManager into MyAvatar

This move some MyAvatar specific code out of Application and AvatarManager into the MyAvatar class.  It also cleans up the Avatar class API a tiny bit.