Added some error checking, {%header%} to layout, editQuestion bug fixed.