URxvt support

Just a couple small changes to improve (U)Rxvt support.