Removed unused dependencies.
Added support for generic event listeners (listening to "*").
insertIntoText now cleans up after itself to avoid having consecutive text nodes.
Removed obsolete references.