Added some debugging output and made it work on first two effects.
Changed to use strings & copy constructors to avoid memory leaks