finished LogDialog; some fixes