removed deprecated kdtree
fixed a few bugs, wip on propper texture selection