Remove all the is_active(), activate() and deactivate() functions. Use global state. [WIP]