Refactor systems/textgraphics.d to 100 line limit