Update uistate hackery. Need to get rid of this from PCMain.cpp...