2.0.0: Allow recursion
It is now possible to spawn child instances from spawned instances, creating a tree-structure with top-down inheritance of enabled status.
Also an error has been fixed which prevented the library to be run under nodeJS, where there is no window
object.