Various minor improvements

No big changes. Basically adding a new unit test for processor chaining, removing the utf dependency, and handling an exception which will be introduced with the next Dart SDK.