Rewrote texture system, fixed some crash bugs