I would get him out of the high kill shelter right now. Then I would get the dental work done. I have a feeling the teeth might be the cause of the heart problem and once the teeth are fixed he should have many more good years.