Started i18n and fixed a few bugs.