Improve error handling
Improve error handling

Do not crash when TMB or miner API are not available!

0uranos/trademybit-switcher,macbackfat/trademybit-switcher,barrybingo/trademybit-switcher,whelgeson/trademybit-switcher