Added config dialog
Fixed exit deadlock