Some quick refactoring, adding a simple table model for the logger