CHG: the SmartHashtable has now a cacheSize member, which is set by
ImageLoaderUtil
CHG: some minor changes