copyright and minor fixes

added a copyright notice, and fixed the "example window" in matplot.py
to work with the generic matplot design which uses the same data array
for all input files.