   var Throttle : Float = 0
   var SpeedDisplay : SpeedDisplayMode = .Surface
 
+  var NodeExists : Bool = false
+  var NodeBurnTime : Float = 0
+  var NodeTime : Float = 0
+  var NodeDv : Float = 0
 }
 
 class NavBall : Instrument {

//    text.draw(String(format: "%03.1f°", vars.Heading), size: 32,
//      position: (x: 320, y: 338+230-16), align: .Center)

    drawText("%03.1f°", vars.Roll, x: 64, y: 240)
    drawText("%03.1f°", vars.Pitch, x: 640-64, y: 240)
    drawText("%03.1f°", vars.Heading, x: 320, y: 88)

    drawText("{0:SIP_6.1}m", vars.Altitude, x: 75, y: 22)
    drawText("{0,4:SIP4}m/s", vars.SurfaceSpeed, x: 558, y: 22)
    
    drawText("{0:SIP_6.1}m", vars.OrbitalVelocity, x: 77, y: 115)
    drawText("{0:SIP4}m/s", vars.Acceleration, x: 558, y: 115)
    drawText(vars.SpeedDisplay.rawValue, x: 55, y: 177)
   
    drawText("{0:SIP_6.3}m", vars.RadarAltitude, x: 95, y: 623)
    drawText("{0:SIP_6.3}m", vars.HorizontalSpeed, x: 320, y: 623)
    drawText("{0:SIP_6.3}m", vars.VerticalSpeed, x: 640-95, y: 623)
    
    // 10, 300
    drawText("SAS:", x: 10, y: 300, align: .Left, size: 20)
    drawOnOff(data!.SAS, x: 43, y: 332)
    drawText("RCS:", x: 10, y: 364, align: .Left, size: 20)
    drawOnOff(data!.RCS, x: 43, y: 364+32)
    drawText("Throttle:", x: 10, y: 428, align: .Left, size: 20)
    
    drawText("Gear:", x: 630, y: 300, align: .Right, size: 20)
    drawOnOff(data!.Gear, x: 640-43, y: 332, onText: "Down", offText: "Up")
    drawText("Brakes:", x: 630, y: 364, align: .Right, size: 20)
    drawOnOff(data!.Brakes, x: 640-43, y: 364+32)
    drawText("Lights:", x: 630, y: 428, align: .Right, size: 20)
    drawOnOff(data!.Lights, x: 640-43, y: 428+32)
    drawText("%.0f%%", data!.Throttle*100, x: 90, y: 428+32, align: .Right)
    
  }

  func drawOnOff(value : Bool, x : Float, y: Float, onText: String = "On", offText : String = "Off") {

    "v.altitude", "n.roll", "n.pitch", "n.heading",
    "rpm.RADARALTOCEAN", "v.surfaceSpeed", "v.verticalSpeed",
    "v.orbitalVelocity", "rpm.HORZVELOCITY", "v.sasValue", "v.rcsValue", "v.lightValue", "v.brakeValue", "v.gearValue", "f.throttle",
    "rpm.SPEEDDISPLAYMODE", "rpm.MNODEEXISTS", "rpm.MNODEBURNTIMESECS", "rpm.MNODETIMESECS", "rpm.MNODEDV"]
  
  /// Start communicating with the kerbal data store
  func connect(to : IKerbalDataStore){
