Added report script, SIGUSR1 reporting, and accel-restoring bugfix

fixed: accel-restoring in debug mode had a race