Finishing work on a better 3D viewer. this also fix bugs like Bug #1129630 .