Implement basic support for text tracing in desktop app.