i18n support, french translations mostly complete, code cleanups