miner settings: Clean up save button focus.

also some other minor cleanups.
miner config: Remove unneeded api-network magics. Only clean it up if found.
miner settings: Correct Use BFGMiner checkbox state when using cgminer