add i18n, cookies, misc fixes