Update comment.
Add grace period calculation.
Fix Makefile indents.
Adjust comments and function names.
Rename the file.
Recalculate grace period.
Revert some changes.
Address issues.
Fix tests.
Address Niklas comments.
Fix wrapping.