Added size method to pool template. Moved cog instance generation to levelmodel. Added copy of level surfaces, sectors, and adjoins to levelmodel, for dynamic flag manipulation. Added coglinked flag generation for sector, surface, and thing cog arguments.