more UI cleanup. fixed flash of unstyled content