Remove useless debug prints. Fix some dialogs messages.