Added thread-safe logging functionality (with potential for dedicated logging thread later on).

Removed unnecessary LogFormat file.