most functionality for displaying statistics complete. remaining are callbacks to give correlation between map and plots