Reworked UI. Linked python effect functions with UI.

Need to fix some selection issues, make things visible/collapsed and
help with dropdown list when selecting arguments for conditions or
effects.