multiple bug fixes to activeTE, added check for 4-bp palindromic TSDs at ends of TIRs