variable text size (unfinished) & code cleanup