         }
     }
     
+    func showErrorMessage(message: String) {
+        errorMessageLabel.text = message
+        self.tableView.backgroundView = errorMessageLabel
+        self.tableView.separatorStyle = .None
+    }
+    
     func stylePostCellAsRead(cell: UITableViewCell) {
         cell.textLabel?.textColor = ReadTextColor
         cell.detailTextLabel?.textColor = ReadDetailTextColor

        let postUrlAddition = HNManager.sharedManager().postUrlAddition
        if !scrolledToBottom {
            HNManager.sharedManager().loadPostsWithFilter(postFilter, { posts, _ in
                if posts.count > 0 {
                    self.posts = posts as [HNPost]
                    dispatch_async(dispatch_get_main_queue(), {
                        self.tableView.scrollRectToVisible(CGRectMake(0, 0, 1, 1), animated: false)
                        self.tableView.reloadData()
                        self.refreshControl.endRefreshing()
                        UIApplication.sharedApplication().networkActivityIndicatorVisible = false
                    })
                } else {
                    println("Could not fetch posts!")
                    self.refreshControl.endRefreshing()
                    UIApplication.sharedApplication().networkActivityIndicatorVisible = false
                }
            })
        } else if postUrlAddition != nil { // Swift makes me keep the "== true"...
            HNManager.sharedManager().loadPostsWithUrlAddition(postUrlAddition, { posts, _ in
                if posts.count > 0 {
                    self.posts.extend(posts as [HNPost])
                    dispatch_async(dispatch_get_main_queue(), {
                        self.tableView.reloadData()
                        self.tableView.flashScrollIndicators()
                        self.scrolledToBottom = false

    let PullToRefreshString = "Pull to Refresh"
    let ReadTextColor = UIColor(red: 0.467, green: 0.467, blue: 0.467, alpha: 1.0)
    let ReadDetailTextColor = UIColor(red: 0.6, green: 0.6, blue: 0.6, alpha: 1.0)
    let FetchErrorMessage = "Could Not Fetch Posts"
    let NoPostsErrorMessage = "No More Posts to Fetch"
    let ErrorMessageLabelTextColor = UIColor.grayColor()
    let ErrorMessageFontSize: CGFloat = 16
    
    var postFilter = PostFilterType.Top
    var posts: [HNPost]!
    var nextPageId: String!
    var scrolledToBottom: Bool!
    var refreshControl: UIRefreshControl!
    var errorMessageLabel: UILabel!
    
    @IBOutlet weak var tableView: UITableView!
    
