Grouped language specific settings together
Fixed window-half-height function
Simplified font setting code