I know we all Love our little Babies! Don't take this the wrong way.....You are having a serious "Power Struggle", any dog that will pee on your bed, is not just having an accident! I used to Breed and raise American Staffordshire Terriers, Rottweilers. I've had alot of different dogs, both males and females.
My point is I've had alot of experience with animals, even though Yorkies are sweet & lovable, they are still pack animals and you are supposed to be the Pack Leader! I don't know all the details, but he is challenging you, you need to spend more time observing him and think, what are you doing differently.
They pretty much train us......force of any kind does not work on them, you have to out think him. If that makes any sense? Good Luck!