Bug: ImageHandler doesn't re-initialize if Images node deleted
Description:
If the Images node is deleted, the ImageHandler class (image_handler.h) needs to be cleared, and re-initialized. Without doing this, code generation is broken because it is still assuming the images are in an Image form.
A related problem which is a bit harder to reproduce, is when you have an image shared between two forms and not within an Images List. If you delete the image in one form, the image remains in the embed array, but the form the image is contained in does not get changed to the remaining form that uses it. Since we still only allow one image definition per project, it is imperative that the form pointer be changed when an image is removed from a form.