 
     @IBOutlet var item: NSStatusItem!
     
-    var app: App!
-    var timer: NSTimer!
+    var app: App?
+    var timer: NSTimer?
     
     func act(e: NSEvent!) {
-        app.act(makeAction(e))
+        if app == nil {
+            return
+        }
+        app!.act(makeAction(e))
         if timer == nil {
             timer = NSTimer.scheduledTimerWithTimeInterval(
                 1.0, target: self, selector: "tick", userInfo: nil, repeats: true)

        m.firstActed = nil
        updated = true
    }
}

@NSApplicationMain

            lastActed = now
            updated = true
        }
        map(meters) { $0.add(i, now: now) }
    }
    
    func fade(now: NSTimeInterval, go: Bool) {
