One of them could be the quest that pops up when you enter an enemy ship telling you to kill the crew or leave the ship. The other is probably handling all the npc spawns and scripts when you enter. This is all just a guess though so I could be absolutely wrong.