Fixed crash

Crash was due to deinit taking too long because of logging. So no real issue. Removed shutdown logging.
Added build_time
Tidied TODOs