 
   methods = {
     common: ->
-
       pWin.show( )
-
-      output.init( allThePaths[0] )
 
       for path, i in allThePaths
         output.appendPath path
         pWin.pBar.value = Math.ceil i*250/(allThePaths.length-1)
         pWin.update( )
 
-      output.splitClean( )
-      output.append output.suffix( )
       pWin.close( )
       allThePaths = []
-      output.merge( )
 
     collectActiveLayer: ->
 

          recursePageItem pageItem

      @common( )

    giveMeASeizure: ->
      output.merge = ->
        @append "\n"

      pWin.label = pWin.add "statictext", undefined, ""

      for layer in doc.layers
        currLayer = layer
        pWin.label.text = "Layer: #{currLayer.name}"

        if currLayer.pageItems.length isnt 0 and currLayer.visible
          @collectActiveLayer( )
        else if currLayer.pageItems.length is 0
          output.append "\n"

      output.str
  }

  methods[options.method]( )

        recursePageItem pageItem

      @common( )
      return output.get()

    collectInnerShadow: ->
      outputStr = ""

