Major deobfuscation effort:
Major deobfuscation effort:

- Replaced debug-errors that should be asserts, with asserts.
- Removed duplications in get* code.
- Simplified where possible.

Wrote several tests (check Flip) on contents, to support safe refactoring.

Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D