A thought on the crashing issue.

Could the compression change be too drastic, meaning the "100, 100, 97, 97"?
Is it possible that the strange behavior such as black screens and crashes be from the camera not having any lower options to fall back on?

Maybe a gradual drop at each compression, like 100, 97, 85, 75 to give it a little more breathing room might help?

(I may be WAY off base here, as I have never modified a driver before)