Better locale handling and removed unused sha1 code