Reworked control variable lookup profiling. Should practically be free, and is now enabled for relwithdebinfo. Use dumpcalls for output.
Changed several setting lookups to cachedcontrols in LLAgentCamera