Adding an add-object function and an *objects* global. Objects are now distinct from the GUI.