This seems to have fixed the memory leak in the Firefox Extension. This needs some more testing to make sure it's completely fixed.
Now loading the whole script as text into the memory and therefrom using evalInSandbox to run YouTube Center instead of loadSubScript. Hopefully loadSubScript was the problem and this is more memory leak free.