Fixed bug where custom legend composition didn't account for permutation

fixed pyqt signal for updating plot after changing element labels

added ability to read .csv FOM files per Ed's format and 1st gen of writing .csv files.