Only keep the last adtmpl in the image.
Bring back verbose stack traces for uncaught exceptions.
Use adtmpl in image to determine if updates should be applied.