Added a log window