small fixes

fixed a few potential bugs in windows fonts loading routine
moved md5 calculation to FontInfo class