Added some instrumention, added missing use of synchash