Prettify: Minor cleanup to better align with new plugin template

Corrected indenting, caching of variables, comments, etc. to better align with plugin template. No changes to functionality.