temporary handling of pirate bay being down

& minor improvements