fixed the mergesort example.
added a new error message for defining a stack processor with an existing name.