Put most stuff that shouldn't be changed during an emulation into OnUpdateUI