Fixed locale and installer bugs