remove debug messages
added support for i18n (localization)
fixed the cmdline option parsing