Merge pull request #336 from jpecht/master

pilt profiles addition / various fixes
some fixes for pilt profiles preview
Merge remote-tracking branch 'upstream/master'
merged