The constants have been made static.
Localized error messages.
Minor cosmetic fix.
Added cancellation button in the channel password input dialog.