Added support for the triggerElement being tweened or pinned

also fixed reverse option and some minor changes :)
rewrote debug logging functions

redesigned logging functions to be more reliable and flexible
calls are simpler and they accept variable number of parameters now