Replaced cout log by DBG log + Tab to switch view for mayor

Please change the debug bool to false before pushing, and use the DBG
command to print debug log.