Adding a try/catch to the decomposeActiveStack code. Fixes #159