Add the selected background to the pool of uploaded backgrounds for the currently active theme.
Use the correct attachment ID and conditional check.
Allow the user to click the image in the meta box to open the frame for selecting a new image.
Minify the JS.
Change the script handle to `custom-background-extended`.
Register scripts in the main plugin class.  Localize and load them for use later.
Use properties over constants.