added window manager and node eventing
Merge branch 'refactor'