Refactor to use new logging macros with formatting.
Ensure engine testing could terminate itself every time.

One of the CI build today stalled when performing the testing. The running application failed to time out. As crazy as its sound that could only mean the high precision counter reaches exactly zero! Murphy Law is proven correct once again.
Merge remote-tracking branch 'upstream/master'