Encapsulated options and assemblies on a per stream basis

This fixes issue #2
Sorry about the major changes that I had to make. The plugin was not architected in a way that allowed fixing this with minor changes.