More accurate space ratio

Detect the actual height:width ratio for spaces instead of guessing :)  Basically, it just creates a DOM element with only a nonbreaking space (at 2000px font-size to get the most accurate reading), inserts it for a split-second, measures it, then gets rid of it.  Improves accuracy pretty significantly and doesn't cost much.
Remove extra empty lines