Editor fix.

Fixed zooming. Also changed loading in main.js.