clean up logging more, import cleanup

accidentally set the log name key to the thread name key
did some cleanup
Merge pull request #65 from metridoc/improve-logging-cleanup-imports

clean up logging more, import cleanup