 // NEEDS:
 // - func: reads config possibly [github] from ~/.gitconfig or from NSUserDefaults
 // - func: pulls user contributions from https://github.com/users/:username/contributions
-// - func: updates statusItem.title on interval
+// - func: parse HTML/XML/SVG data from the contributions svg; grab data for today; update display
+// - func: updates statusItem.title on interval using NSTimer or GCD's dispatch_after
 // inspiration: https://github.com/akerl/githubstats/blob/master/lib/githubstats.rb
 
 
+
 import Cocoa
+import Foundation
 
 @NSApplicationMain
 class AppDelegate: NSObject, NSApplicationDelegate {
-
     @IBOutlet weak var window: NSWindow!
     @IBOutlet weak var statusMenu: NSMenu!
     
-    let statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(-1)
+    let statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(30.0) // use -1 for variable length but it seems to get cut off on the right.
 
     func applicationDidFinishLaunching(aNotification: NSNotification) {
         let icon = NSImage(named: "statusIcon")

        NSApplication.sharedApplication().terminate(self)
    }
    
}


        
        statusItem.image = icon
        statusItem.menu = statusMenu
        var timer = NSTimer.scheduledTimerWithTimeInterval(0.4, target: self, selector: Selector("randShit"), userInfo: nil, repeats: true)
    }

    func applicationWillTerminate(aNotification: NSNotification) {
