Fixed submission issue, where it would submit descending best share for chunk rather than descending best share for the entire miner. Also added a log file in preperation for a logging view in the web UI