Make plAGModifier a friend of plAGApplicator.
Add missing type specifiers.
The bounds type test was performed on stale bounding data from the previous frame resulting in the avatar being drawn without textures for a frame after switching from 1st to 3rd person camera.