minor adjustments and cleanup
added index recovery for map-reduce indexes