fixed bugs questions now write out to correct files.  Still have bug
with images from some questions not loading.