Remove leading zeros from default snames.txt. Fix index error in
programs template.