Add status widget code.

Signed-off-by: Paul Brook <paul@nowt.org>