refactor fontforge output capture, debug, and error