Drop some unused code
Remove an unused variable
Merge pull request #27 from dowski/master

Little bit of PALM cleanup