code cleanup & less header depends
remove unused function
DeInitialiseFonts();   can't be called before MainWindow Destroy...