fixed some pointer issues. introduced new ones.
fixed framebuffer creation error
added another demo and a shadertexturetest