use appname for settings

with notable exception for backwards compatibility