Updating main.js for requireJS. Fixing some glitches. Renaming classes
for consistency. Shows aspect name when listing watchable variables