Your earlier post didn't make that clear, but I've now fixed the 'Related videos' bug. The 'Rate video' bug is down to a problem in the python-gdata package (i.e. not my code). I guess none of the other YouTube applications on the N900 use video rating, which is why the bug hasn't been noticed before.