add saving of preferences; partially.. some things still need some more crafting