Fix some bugs with profile, as well as optimizing the cache so that it will work a lot faster.
Merge branch 'master' of github.com:aurora-sim/Aurora-Sim