Fix font insanity and Clang warnings.
Since this was originally Pascal, there's a tonne of 1-based indexed arrays, and the font ones were sized by number of elements, meaning it was chock full of buffer overflows. Also, the Pascal string handling was crazy. There were also some file IO issues floating around. This fixes all of those issues and also Closes #179
Showing with 53 additions and 50 deletions