Added error handling to captureHit.php. This way, the article page would not break for the end user in the event the hit was not captured. Also, modified class Category.php to get the name of the category with better syntax.