Add more informative memory errors when converting to dense fails. Also remove some leftover instances of "logging."