Fixed relnamestatus and fixes in prehash.