Some plugin generation fixes.

- Ensure empty lines in some places
- Only print the table if we actually have items to put in there
- Always use inspect function when printing out the defaults
we should remove this. it is causing the whitespace on the first line after the title.