lua: don't truncate output
ivar2: Improve command register and unregister
ivar2: save hostmask across reloads
ivar2: improve logging. Fix unregistering
trigger: use names for triggers