    load: (callback) ->
     IPC.on 'userDataPath', (e, path) =>
      @_userDataPath = path
-     console.log path
+     #TODO load options, temporary
      callback()
     IPC.send 'getUserDataPath'
 

  PATH = require 'path'

  TEMPORARY_FILE = 'temporary.swp.ds'
  PROTOCOLS = [
   'https://'
   'http://'

     lines[i] = line.trimRight()

    lines.join '\n'

   saveOptions: ->
    FS.writeFile (PATH.join @_userDataPath, OPTIONS_FILE),
     (JSON.stringify @options)
     (err) ->
      if err?
       console.error err
      else
       console.log 'options file saved'

   @listen 'saveTemporary', ->
    return if not @file?
