Allow profiler to be disabled

Sometimes you want to disable the profiler in your debug environment for a quick check (when the debugger messes with the output). So next to enabling the profiler, also allow it to be disabled, of return to the default values.