Fixed a ton of precision-related warnings and such.