view will appear/disappear cleanup, more comments