added preferences
added gnuplot plugin
optimisation of algo g display