safe tracing, buffer and time customization, writing and coloring fixes