Updated error msgs and sbuffer creation

Changed locatin of sbuffer creation from
mersenne context to acs context.  Fixed
some error messages and added necessary
exits.