Fixed plot pen bug (when a change is made in quantity block, the plot pen should be renamed. i.e. the old plotpen should be deleted, and the new one should be used). Also fixed plot name bug when model is opened. Now the plot name saved in the model is read and applied to plot correctly.