Misc bug fixes. Finished SaveMerchProfiles