check lastview frame size
don't update context cred unless we really need to
less __CUI
more cleanups, remove more __CUI