Removes replaceListener since it makes no sense at all,
Refactors getConsole method