fix font initialization. font size constant are initialized dynamically.
clean imports
fix automatic completion based on Syntax object