Removed open/close, the same functionality can be achieved with an eventMap.
Minor code style fixes.
Added debug logging for on-/off-for-timer commands.