* added error checks for applying nonprocedures.
vectors to be unset incorrectly. The bug was in using || instead of | when computing the dirty pattern.