Fixed bug in results model's update_results_stats method.  Also improved gui