Added string merge, added saving of pri information, added loading for pri info, added loading for halted pri, added autosum in caption and other changes.