fixed issue where rad_mat would fail if the gui failed. It will now continue