Fixes in prehash, udated monitor.