added legend box when showing margin boundaries
Merge branch 'test_png'
merge window, file ids into just one id
Merge branch 'test_png'
fixed typo in pg_support

still no png output.