     
     func downloadData(url: NSURL!, callback: (NSData, String?) -> Void) {
         var session = NSURLSession.sharedSession()
-        var task = session.dataTaskWithURL(url) {(data, response, error) in
+        task = session.dataTaskWithURL(url) {(data, response, error) in
             if error != nil {
                 callback(NSData(), error.localizedDescription)
             } else {
                 callback(data, nil)
             }
         }
-        task.resume()
+        task!.resume()
     }
 }

    required init(coder: NSCoder) {
        super.init(coder: coder)
    }
    
    func addCaption() {
        self.caption = UILabel(frame: CGRectMake(0, 0, self.bounds.width, 50))

    var caption:UILabel!
    var mpc:MPMoviePlayerController!
    var imageId:NSString? // Not sure if this belongs here, but helps us know which Image is associated with this view
    var task:NSURLSessionDataTask?
    
    override init(frame: CGRect) {
        super.init(frame: frame)
