Cleanup and organization of 3d main.js
Remove old canvas/web worker logic
Further cleanup of old canvas support.