Fix for #7: active not being updated

recalculate active flag on every render
remove broken dead code
fix test
update artifacts