much stuff

fixes,
forward declaration replaced includes,
octree preparations...

and more...