doc & typo
cleanup variable access in events, issue #4