Update CoreMain.h