texturing working, lots of minor fixes