added error messages to ui (all console warn and error and window.onerror events are piped to UI)
added error messages to ui (all console warn and error and window.onerror events are piped to UI)

KhronosGroup/glTF-Sample-Viewer,KhronosGroup/glTF-Sample-Viewer