Fixed gizmo having its movement doubled of what the cursor showed.
Refactored J3D class to help split file logic from editor/render logic.