Initial rendering of live ifs.

Also fixed bug in html comment parsing.