Better block & miner fetching

Cleaned up the code, made it so the Worker Rate/etc will be still
fetched even if you're viewing block data.
New connection will be attempted upon switch, and the table will be
emptied to prevent useless ram usage.