Closes #21.

Implements Stefan Norberg's code as seen in Issue #21 and adds the maintainer's requested optional attribute named 'enterTriggersOk', which defaults to false.