Added function to group graphs; boxes get hidden when no graph is selected and when layer gets refreshed; annotation tools get removed from toolbar if "annotating" checkbox gets unchecked; allographs counter gets updated when saving or deleting annotations; various fixes to multiple annotations selection