main.py: Localization and IRCBot.connect() improvements.