Get rid of duplicate code.
Use Google Guava.
WIP new text alignment algorithm