Minor tweaks.
Plot is now stored in a buffer rather than a static file on the hard drive.