Changed remaining setq bindings to local ones.