Added centered mode. Cleaned font handling.