tuned font sizing algorithm
changed layout algorithm a bit