fix entity iterators so they will work over disabled entities
add enabled getter/setter
better pain hook