Fixed some small issues in TBSiteDocument.m