Fix logger concurrency (issue #196), remove unused imports from Trainer.scala