Yet again removed state-machine.js from index.html.
Added uniform method for wiring up menu items.
Wired up "Create Node" button.