Added a little demo code what can be done with the framework.

Fixed some issues with the mesh to improve building aabb-trees.

No more blocking synchronized in raytracer as well as a double buffered rendering to avoid artifacts.

Minor refactoring.