Initial commit of a massive overhaul of the loading of stuff so it can
be displayed as part of the GUI.