Clean up units handling (again).
Add a simple boxdet and refactor so shapes are not "inlined" but kept in their own store.

Also loosen the checks when naming lv/pv/shape to allow parts with no materials.