Fixed to correctly use the iwidgets 3.0 file selector if available. Collapsed some duplicated code & various cleanups.
Fixed to correctly use the iwidgets 3.0 file selector if available.
Collapsed some duplicated code & various cleanups.

svn path=/trunk/; revision=2142

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot