'Dangerous' main road into town will get safer walking and c