Implement safe_ea_cast to avoid catching Exception
instead of having `except Exception` in many places, we have it in one place, with one helpful comment
I think comments have been addressed.  LMK if i missed anything thanks, small followon request.