fix return of XMLParser's handleTok; clean comments