Work on basic shaders, simple instancing test app, correctness fixes