Bug fixed in PlotsDialog save plot function.
Makefile header change