Rex looks like a very sweet boy. I am so sorry that he is having troubles. It sounds like you are doing the right thing, though: making sure he is comfortable and has your companionship. We'll be thinking of you both.