core.cpp: Removed outdated commented out code