Set stat reg correctly on write, and fire int on mode change