More work on the demo, now draws and creates nodes automatically.