debug: add gui to toggle wireframe mode.