API Robustness
Various quality of life fixes from @tecmage . Retries if API errors and avoid extraneous API calls.
Includes fix from @timcreech for TLS errors a few people have experienced
Future refactor from @AESternberg will continue to build on these improvements