Make the Twitter checker fail more gracefully, cleanup of main