center logging window
center main frame