Updated main.js to remove most editor logic, since <editor> now handles it.
Updated main.js to remove most editor logic, since <editor> now handles it.

HydroLogic/web-pgq,whitelynx/web-pgq,whitelynx/web-pgq,HydroLogic/web-pgq