improved distribution editor

you can now browse in the workspace for the distribution grid and
density..
furthermore, data2str does now return '[]' for empty values... this
string is removed in the gui (instead of returning '' directly in
data2str)