ADDED config dictionary for some visual properties
ADDED text size calculations