  *  Photo_Editor_WindowDraggableButton_swift.html#//
  *  apple_ref/doc/uid/TP40017384-Photo_Editor_WindowDraggableButton_swift-DontLinkElementID_22
  */
-    var hpc : HeliumPanelController?
+    //  once our controller appear, update
+    var _hpc : HeliumPanelController?
+    var hpc : HeliumPanelController? {
+        get {
+            return _hpc
+        }
+        set (value) {
+            _hpc = value
+            display()
+        }
+    }
     var borderColor : NSColor {
         get {
-            if let webView = hpc?.webView, let url = webView.url, url.isFileURL {
+            guard let hpc = self.hpc else {
+                return NSColor.clear
+            }
+            if let webView = hpc.webView, let url = webView.url, url.isFileURL {
                 return NSColor.controlColor
             }
             else

     }

    // MARK:- Translucency
    fileprivate var mouseOver: Bool = false {
        didSet {
            if let window = self.webView?.window {
                if autoHideTitlePreference == .outside {
                    window.titleVisibility =

        cacheSettings()
    }
    
    @objc func updateTitleBar(didChange: Bool) {
        
        if didChange {
            if autoHideTitlePreference != .never && !mouseOver {
