Factoids: fix export errors upon exit by correcting atexit registration order
Factoids: fix export errors upon exit by correcting atexit registration order

pragma-/pbot,pragma-/pbot,pragma-/pbot,pragma-/pbot