Initial stat reports implementation. Fix set_as_main_hopper redirection bug in Internet Explorer