r768

Numerous fixes for performance (now capped again, as uncapped was causing issues
on high end machines). AI improvements, various tweaks to culling, and some MP
fixes.