edit is now a function of the distribution class

also I fixed an issue with the refresh button in browsevar