Added better debug message method

See line 100-108 to see how to use the new debug message method.
It's not static at the moment, we'll see if we need to make it static
later