fix some logging calls, remove superfluous font size guessing logic