Fast Comparison Use, Miscellaneous Tweaks

FASTMIN() and FASTMAX() are now used instead of MIN() and MAX(), other
miscellaneous tweaks.