Fix quality_dropoff.r

* Use correct variable for the plot in ggsave
* Pass outplotbase to plot_quality_stats