I think you nailed it when you described the Boyd Crowder character in regards to the show's writers. He pulled a total Swearengen: the initially evil character is so fun to listen to (and write for, I imagine) that he becomes increasingly sympathetic.