Introduce delay before panic in kmem_error() in hope of seeing further diagnostics in the system log.

Small tidy ups.