Even more WIP code. Many crashes here, I will need to take care of stray
geometry.
Yet more WIP
At last much more stable code
Yet more fixes