Activate the select-all buttons in the periods. Update the headers on selection change.
Fix/optimize the marker functions for the programs module