moved some code from webgl editor engine.init() to engine.webgl.init()