-misc fixes in release-related code, context code