Added PL layer info to text output

Added PL layer info to text output, fixed null pointer occurring on
certain older pits