added preliminary texture support+test, needs image in memory