Made changes to allow X-class flares to be better handled.