Cleaned console.cpp