Major rework of functions related to getting text metrics.  Much more accurate.