Here's the fix for the problem.  Compute _isThrustOn higher up, and then use it in the logic to figure out when we should turn off the _speedBrakes.

The problem would happen if you momentarily lifted a finger from a thrust button but did not yet slow down to below the MIN_SPEED_BRAKE_* before applying thrust again -- speedBrakes would stay on.