optimiz0r changes

misc changes here for optimizor and plotting. I still can't figure out
how to get it to stop creating so many temporary files, but it appears
at least to close them instead of keeping a handle open to them. Keeping
these handles open makes the script freak out and qtlab become useless
because of too many files open.
misc
Paolo's flip mirror code