cleanup/fixes of JAction processing/restoring