anchor.diff:          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")
  +    let completeRequest (msg : KernelMessage) (content : CompleteRequest) = 
   
           // 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
  
positive.code:         let ex = 
              try
                  // preprocess
                  let results = compiler.NuGetManager.Preprocess(content.code)
                  let newCode = String.Join("\n", results.FilteredLines)
  
                  // do nuget stuff
                  for package in results.Packages do
                      if not (String.IsNullOrWhiteSpace(package.Error)) then
                          pyout ("NuGet error: " + package.Error)
                      else
                          pyout ("NuGet package: " + package.Package.Value.Id)
                          for assembly in package.Assemblies do
                              let fullAssembly = compiler.NuGetManager.GetFullAssemblyPath(package, assembly)
                              pyout ("Referenced: " + fullAssembly)
  
                              let code = String.Format(@"#r @""{0}""", fullAssembly)
                              fsiEval.EvalInteraction(code)
          
                  if not(String.IsNullOrEmpty(newCode)) then
                      fsiEval.EvalInteraction(newCode)
  
                  None
              with
              | exn -> Some exn
  
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 = 
  