Refactored single file loads to use a utility function.
This didn't need to be here
More work to allow the online version to override parts of the UI. Now all creations of MediaLibrary happen through Scratch.
Retaining the ID during the extension load process.