Fix problem witj comment and locks. closes #2507

Conflicts:
	inc/inventorycomputerlib.class.php