      
         }
         
-        
-        
         // initialize default setting
         NotificationCenter.default.addObserver(self, selector: #selector(self.recordButtonDidClick(_:)), name: NSNotification.Name(rawValue: "CaptureViewRecordButtonDidClick"), object: nil)
 



@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {

    var statusItem:NSStatusItem?

    @IBOutlet weak var menu: NSMenu!
    
    var captureController:CaptureWindowController? = nil
    var preferenceWindowController:NSWindowController? = nil

    

    func applicationDidFinishLaunching(_ aNotification: Notification) {
        

        self.prapareVideoScreen()
    }
    
    func prapareVideoScreen() {

        let displayID = CGMainDisplayID()
