Begin work on UI enabled effects.
Global state. Support for multiple effects.

I caved and used the mutable global state hack.
The global state is now a dictionary mapping from
"effect indices" to "effect states". In the future
this will allow multiple effects to show simultaneously.