improved print snapshot compatibility checks
fixed conflict between onbefore error and other plugins