   swapShell: (newShell) =>
     oldShell = @model
     @model = newShell
+
+    @$('input#link').val @model.link?()
+    @dropdownView.selected @model.shellid()
     @renderRemixSubview()
+
     @trigger 'Remixer:SwapShell', @, oldShell, newShell
     @
 


goog.require 'acorn.player.DropdownView'
goog.require 'acorn.shells.LinkShell'

# View to select options.
class acorn.player.RemixerView extends athena.lib.View

  initializeDropdownView: =>

    # get only the Link-based Modules
    modules = [
      {id:LinkShell.id, name:'Link (iframe)', icon: LinkShell.icon}
      {id:ImageLinkShell.id, name:'Image Link', icon: ImageLinkShell.icon}
      {id:PDFLinkShell.id, name:'PDF Link', icon: PDFLinkShell.icon}
      # '---' divisors TODO
      {id:TextShell.id, name:'Text', icon: TextShell.icon}
      # '---' divisors TODO
      {id:EmptyShell.id, name:'Empty', icon: EmptyShell.icon}
    ]

    selected = @model.module.id
    if selected == Shell.id
      selected = LinkShell.id

    @dropdownView = new acorn.player.DropdownView
      items: modules
      selected: selected
      eventhub: @eventhub

    @dropdownView.on 'Dropdown:Selected', (dropdown, value) =>
