refactored code in FXLauncher

-fixed a spellchecking bug when hilighting corrections was enabled