quickpatch

added a quick patch to check for pagecount, just in case.. (on
RemoveAllButThisTab)