Small improvements to DetectWavesRefine gui and bfopen

Changed waitbar for bfopen to be flexible based on whether a unix
command line or mac/pc desktop environment is present.