settings page now mostly functional