anchor.diff:          sendMessage (shellSocket) (msg) ("complete_reply") (newContent)
   
       /// Handles a 'connect_request' message
  -    let connectRequest (msg : KernelMessage) = 
  -
  -        let content = match msg.Content with ConnectRequest x -> x | _ -> failwith ("system error")
  +    let connectRequest (msg : KernelMessage) (content : ConnectRequest) = 
  +
           let reply =
               {
                   hb_port = connectionInformation.hb_port;
  
positive.code:         sendState msg "idle"
  
      /// Handles a 'complete_request' message
      let completeRequest (msg : KernelMessage) = 
  
          // extract the contents
          let content = match msg.Content with CompleteRequest x -> x | _ -> failwith ("system error")
  
          // in our custom UI we put all cells in content.text and more information in content.block
          // the position is contains the selected index and the relative character and line number
  
negative.code:         let code = File.ReadAllText(includeFile)
          String.Format(code, dir.Replace("\\", "\\\\"))
  
      /// Splits the message up into lines and writes the lines to shell.log
      let logMessage (msg : string) =
          let fileName = "shell.log"
          let messages = 
  