Implemented the destroying of targets. But fixes will be needed...