Various bug fixes and updated translations.