Author: Bastien Dalla Piazza Revision Date: 2010-07-25 13:39:55 UTC
Added resignation. Fixed Ko detection error