Added a permute_milliseconds optional parameter to enable to unintuitive...

... not full time freeze required to get around some mysql comparison issues
Yeah, I wanted to do it without globals but it ended up requiring that I pass the parameter through a ton of different functions and this just seemed much simpler.