Added more ability to print code listings