Added function to generate the .PLS file string.

Minimum feature set complete.