changed miner config to read json file, and fixed a bug in the UI where the speedMetric setting was not being remembered when the user transitioned routes