cleanups, updates, and added some scripts to load in index.html