big cleanups on loadobjects.html and other
only semi working at the moment