SPL plugin bugs

Please review commit by commit. 
Minor smartdown changes to fix plugin interpolation errors.