Fixed encryption (or at least made it workable again?!) - looks like it was an unfinished changed. No metods had been updated to use the new way.

Fixed tpl location ref for pp pro iframe.