Cleanup of dynamic plot loading