add power-fail recovery and tank 'show' mode