persisted settings working, nasty localtime bug fixed