Added check for bad pcodes, changed error to warning.