wip: disable asynch write to speed up performance
wip: refactor ref manager service
wip: shut down context

this still needs work :( can't match PhantomImgCleanerRef because the
constructor reflection doesn't consider subclasses