more fixes and a logger plugin