Avatardata optimization

Changes from last week... never committed these. Big savings mostly in ViewFrustum data. But savings in other places as well.