tag 598316 +patch usertags 598316 +patch-supplied thanks Attached are three patches fixing the three issues reported in this bug. Hopefully it should be fairly self-explanatory which one is for which. - Matt