201402272231

Added some nifty functions to handle some edge cases (no pages / no
tags).