Add wireframe rendering mode.
Debug trackball reset on mesh loading/closing.