Added in a period program tick to various tasks.