Changed the epilogue

Changed the way the epilogue is generated to make it easier to add to it in the future.
Comment changes

Changed top-level comments into Python doc strings to make code-folding in Sublime Text work more cleanly.