Use consistent logging interface
Only print opcode histograms in debug mode

These are only useful for debugging anyway, they're just noise to
anyone actually using the simulator.