Added log window instead of error popup