Created textureing example. Also some fixes.