Triggers can now require a parameter..

...and will not be show on gates that don't support parameters.

Also moved logger to own class and added a API error function.