misc improvements to stasm plugin

@sklum This patch makes the following improvements to the stasm plugin:

- Add a sanity check to ensure continuous matrix data.
- Fix whitespace in the `searchPinned` conditional.
- Only acquire a Cascade resource if we need one in the `!foundFace` conditional.