Add shutdown() for explicit shutdown
Improve tracer console app to be configurable