Updated MainSourceCode

Small changes. Nothing major.