fixed bug in plotting, still more debugging to do.
can now open windows if there is no data
Merge pull request #44 from ehsteve/master

Bug fixes