patch for pause-state

not sure if this is how it's supposed to work, but now it does.

0 or 1 = keep running on focus loss
2 = slow down on focus loss (saves cpu?)
3 = pause on focus loss