Add the ability to print debug messages to screen.