Fixed various regex who were matching up too much
Added guard for GDB console output of debug messages