Im not a limit player, but in the first situation, that guy seemed to be overplaying a gutshot straight draw. He got lucky, but if you ran through that situation 1000 times, you'd make money on it.....
2nd situation, limp in and catch 2pair, going up against a pair with good kicker and flush flushdraw AI is a wetdream......once again, cards didn't go your way, but over the course of time, it is still the right move....
sometimes you get kicked in the nuts for making the right move...