fix smartwrap bug and add crash command for testing
Merge pull request #48 from jlipps/fixes

fix smartwrap bug and add crash command for testing