Fixed bugs, but still LNK2019 error on InitSystem and MasterLoop