remove some needless conditionals
save name across refreshes, fix bug on rotation