'fixed' compilation errors and got game to load

I am aware that commenting out errors is not the way to fix them