 
 class MavlinkController: NSObject, ORSSerialPortDelegate, NSUserNotificationCenterDelegate {
 
+    // MARK: Stored Properties
+    
     let serialPortManager = ORSSerialPortManager.sharedSerialPortManager()
 	
     var serialPort: ORSSerialPort? {

            else {
                self.clearTextView(self)
                
                // Configure port prior to opening
                port.baudRate = 57600
                port.numberOfStopBits = 1
                port.parity = .None
                port.open()
                
                // Start a Mavlink session on the Pixhawk mini USB port
                if let data = "mavlink start -d /dev/ttyACM0\n".dataUsingEncoding(NSUTF32LittleEndianStringEncoding) {
                	port.sendData(data)
                }
            }
        }
    }
    
    @IBAction func clearTextView(sender: AnyObject) {
        self.receivedMessageTextView.textStorage?.mutableString.setString("")
    }
    
    @IBAction func radioButtonSelected(sender: AnyObject) {
    }

    // MARK: - ORSSerialPortDelegate Protocol

            serialPort?.delegate = self
        }
    }
    
    // MARK: IBOutlets
	
    @IBOutlet weak var openCloseButton: NSButton!
    @IBOutlet weak var usbRadioButton: NSButton!
    @IBOutlet weak var telemetryRadioButton: NSButton!
    @IBOutlet var receivedMessageTextView: NSTextView!
    @IBOutlet weak var clearTextViewButton: NSButton!
   
    // MARK: Initializers
    
    override init() {
        super.init()
