cousin itt - 2013-05-25

This is not needed. The reason for the long pause is a large image database (8000+).
There is a SELECT * query for all images just to test if there are any images in the database. This can be refactored to use a new method in TEditor such as getDbImageCount()
I have coded most of these changes and will add a patch.
Another place where there is a SELECT * query is during the initial load of the image gallery.
I will look into removing this too, but will mean that a search will need to be made before any images are shown.