Continuing work on sequences. Also, sped up interaction graph query.