Don't set global shadow caster.

By not doing this we allow for more freedom in applying shadow caster
materials. There seems to be no downside to not setting it globally
(it's not clear to me if it ever was needed).
Fixed issue with pages being unloaded.

This was caused by the loadedList containing duplicate page entries.
This resulted in some pages being unloaded when the geometry was
updated. The reason for this was the changes we've made before which
allowed for background loading (which could result in duplicate list
entries).
The solution was to use a "set" instead. This might have some
performance drawbacks when pages are added, but as this happens so
seldomly the effect should be negligible.
Fix triangle count in performance widget.

We now get a count of all triangles from all render targets. This fixes
an issue where the triangle count was incorrect when compositors were
used.
Merge branch 'master' into author_thoughts