     var timer : NSTimer? = nil
     var startedAt : NSDate? = nil
     var currentImage : NSImage? = nil
+    var currentApp : NSRunningApplication? = nil
     
     var seconds : NSTimeInterval = 60*55
     


    func onSwitchApp() {
        if(startedAt != nil) {
            NSLog("--> current app: %@", (NSWorkspace.sharedWorkspace().frontmostApplication?.bundleIdentifier)!)
        }
    }
    


    let statusItem : NSStatusItem = NSStatusBar.systemStatusBar().statusItemWithLength(64.0)
    let dateFormatter : NSDateFormatter = NSDateFormatter()
    let workspace : NSWorkspace = NSWorkspace.sharedWorkspace()
    
    let wImage : NSImage = NSImage(named: "mitten-w")!
    let bImage : NSImage = NSImage(named: "mitten-b")!
