clean up some code and make comments, change default text size to small