I am so sorry you have been suffering like this. But, I think you need to relax a little and just let yourself heal. For the first three weeks, I was in bed about 80% of the time---I only got up to go to the bathroom and to get more ice for my knee. I did not do any exercises at all---maybe a few heel slides but not really very many. Don't worry about your quad---you can deal with that in a few weeks.
You have had the extra trauma of the the PT being so abusive to you. Have you asked your surgeon if he/she caused the hematoma by the rough treatment of you? That PT should be sent for extra training in sensitivity and in how to rehab a tkr. While you are lying there, email the CEO of the hospital and let them know that you were abused even after saying NO. I think PTs need to understand that no means no as much as males at college!!!
At any rate, I think you are doing the right thing, elevate, ice and rest. I also drank two protein drinks a day---I used the one from Naked Juice since it had pineapple and coconut in it. Most of all, don't get up and about until YOU want to do it. Each of us heals at a different rate---there are plenty of folks who were at 75 at three weeks--and most of them are riding their bikes or hiking around now. So, do not scare yourself into negative thinking.
Instead, think positively---you have had a set back, but are dealing with it well, taking care of yourself. Be sure to eat well, your body needs extra protein as it works to heal. I use the egg cassarole from the Ten Talents Cookbook when I am ill--except that I add better cheese and jalapenos! I kept little tubs of peanut butter and grahaman crackers beside my bed and always ate at least two when I took my meds. Also, set an alarm for your next med---if you are off by 20 min it makes a difference.
Also, for me--it worked to split my drugs a little---so 50 mgs of Tramadol every two hours instead of 100 every four hours. That seemed to work a little better for me==you might try it and see if you can get better pain management into your life.
If your knee is swollen and inflamed, it is like a garden hose filled with water---you cannot bend it, no matter how hard you try, until the water leaves. Your lymph system is working overtime to drain away the extra swelling, so give it time to do its work. I did visit a lymphatic massage therapist who was excellant and gave me lots of tips for the swelling. For one thing, I wore support hose for a few weeks to help get the swelling down.
Most of all, let peace come into your life. Your knee will not always be a painful lump!! In only a week or two things will start to look better to you. Right now is a good time to revisit the Downton Abbey series---Amazon Prime was a good friend during that time. You could see all the old "Chew" and Chopped that you missed while working!!