The demo goes farther now after fixing some bugs.