Fixed errors in Console module

They went undetected since the project type is a GUI app