Prepared logging header. Logging is not yet functional.
process class: keeps now also main thread ID (mainly for debugging purposes)