Rewrote custom background selection dialog

Now uses a two dropdown box system, and loads much more quickly.