zapped commented-out code
Added caching for workspace_acceptable. I think that's the slow part now.