made some progress on the port.  it now breaks when initializing the webgl context on 26655