#1 huge refactoring continues, dombuilder is util now, JAX tries to get over some errors