Fixed issues with pay periods & adding new ones. Various other fixes/changes