Minor alterations to _SentinelMain to handle polygon (quickfix)