Returned main.cpp to original state.