fix some bugs in measures sheet, change export to allow exporting measures from the entire map from top menu, add analytic events to measures sheet