Replace box_alters with block api hooks

From #5537.

Also, fixes the navblock renderer so it actually prints something.