one more check in stacktrace API to make sure it won't throw errors on unexpected input and bumped the version up; added state API, which provides an easy way of creating state machines for resumable programs