Fixed a big bug with the flag selectors on all forms and implemented the interface for spell effects.