added validation, fixed question editing, etc