Various smaller additions to installer script, minor other fixes