assertions, assertions

I kept the side affects of all the assertions in so release mode would
behave like debug mode.

Also changed the method by which YACoind exits in MS so it is a little
more "correct".

Ron