Removed some useless crap from main.cpp.