Added turn-on threshold plots, and reworked some of the plotting script.