Trailing whitespaces
Minor code refactoring in HscMain

Compiled HscMain.o is now smaller.