Fix decoding error and wrong cell heigt

Hi, I fixed 2 bugs in your nice little script. One of the bugs is also mentioned here: http://lists.roaringpenguin.com/pipermail/remind-fans/2011/002431.html