Add more direct link options to demo.html and changed layout slightly.

Improve grid width calculation for editors with children.
Fix some JS syntax error typos (trailing comma, unneeded continue).
Fix bug with auto-hide of properties modal button.