             return true
         }
     }
-    
+
+	@IBAction func perferences(sender: AnyObject) {
+		print("show preferences sheet")
+	}
+	
     @IBAction func backPress(sender: AnyObject) {
         webView.goBack()
     }

import Cocoa
import WebKit
import AVFoundation

class WebViewController: NSViewController, WKNavigationDelegate {


        }
    }

    var webView = MyWebView()
    var webSize = CGSize(width: 0,height: 0)
    var shouldRedirect: Bool {
        get {
