Fixed a bug that was preventing the code from reading a nifti from any dir other than the CWD when chosen with the UI.