save options, handle login state better, save assignments more reliably, and load popup more reliably