Refactored invoking of repositext commands for better error reporting.
Added fix command to normalize editors notes
Various updates to repositext scripts.