First batch of bugfixes and localization.