Quick and painless bitmasks for controlling application state.