added log window and character window