Added support for printing traces to the screen