Terminal Keeps Opening
I've been having this exact problem all day and think I just found the solution too it. 

I too thought that the problem was being caused by Terminal but I think it's just Application Manager acting up. For whatever reason Application Manager kept opening along with Terminal, only with no indication that it was open. Try quitting Application Manager and see if that works. 

I know most of the people have this same issue also have Pro Tools so it could just be something stupid Application Manager is doing. Hope it works for you or get you on the phone with ProTools support to help fix the cofiguration or bug in that app/suite that is opening the terminal app.