Fix bug #47: WOUND causes crashing
Fix bug #51: Several bugs related to WOUND