gui: added colour speed
core: improved rendering.
core: improved colour blending
core: added kd-tree library.