Added some debug helpers
Added a TODO (unrelated to branch)
Added filter maps, to avoid DOM node recreation during filtering