Enhanced PlotManager

Optimized code some more. Small increase in performance.