making screenshot code more resilient

sometimes, for some unknown reason, s-a-a-s returns a 404 for a URL
(even though it exists). wrapping this code in a try/catch to keep
going. seems to work so far.
detect language (start)

a function that detects whether we have still credits for this free API
or not.
json feed of story count per day

using cts:frequency(), see http://markmail.org/thread/26kvqlxeal5xepeq
for discussion.