i'd worked out how to deal with some of these problems, but didn't finish it off. i'll try to get back to it this week.