Made lightcurve plotting work in parallel again