Mel script to mess with 2

I posted before a script to mess with, that was a short script, well I've added a UI to it and now its a crap load longer, but there are new features. It will save your cache settings with the file, so if you oversample it will remember the oversampling, etc.
http://www.creativecrash.com/maya/downloads/scripts-plugins/dynamics/c/cache-fluid-and-playblast
So check it out, I'll make it work for windows this weekend. Right now it's only Linux.

EDIT: now version 2.1 with changes from "Alberto" plus a few extra things that I needed to do like error checking.