start using module pattern, and keep track of sequence editor tabs to avoid re-opening