CHG: the ImageLoaderThread has been re-implemented, it is now threadsafe
ADD: we use a little work unit class inside the thread to hold all
information about a picture.