artmagic.c: moved protection handlers to the driver class (nw)