Keep an eye on GC stats.

TRE_DEFAULT_IMAGE holds the path to the shared default image.
Load shared default image if none was found in the home directory.
treimage_create(): Don't mark objects after GC.
Install shared default image.