S-7681 Remove DaemonThreadFactory, clean up IMain