I would assume that the $40K she put into your house has improved its value by $40K. I know that is not always the case, but would you say that is the case in this situation?
Why not negotiate with your sister, and pay her the $40K right now to clear this up once and for all. Unless you were...