initial working setup for webgl display.