Fixed incorrect bool comparison and recompiled. Tweaked demo page.