fixed json, implementation of addToParent, queue implementaiton, searchForTabWithID
cleaned up bg.js a bit
cleaned up bg.js more
cleaned up bg.js a bit more