bug fixes to question editor.