Code cleanup.
Reenabled optimizations :advanced. Whithout it, the error 'too many recursions' occurs in Firefox.
Made layout of live demo nicer.