Accurately predicting / preventing, bottomhole collapse during underbalanced drilling