add checks to ensure that data is available before plotting

 * Guinier and Kratky plots
add priorityLevelId so that ISPyBB PDF report creation works