adding rtprint library, rerouting output streams