minor fixes to spreadsheetreader, improve graphing, sample processing