draft of thread-name monitor for OSX - still to be tested, effectively commented out by default