fix misc
remove constants
add event delegator
add traversal helper