Fix for autoclose parameter

There were problems related to the autoclose parameter passed to Vray, especially with still motion blur activated. I've fixed them adding the capability to maintain waked up the last frame of an animation.