The code in makeMove() in the Board-class was written so that if one side could castle one way and a rook was missing from the other side, the castling rights for castling both ways were removed.
Very silly bug, and the second one in a very simple piece of code. I must have been tired that day. :)
This will be fixed in the next download.