Add a "tags" column to globalstatus

Also generate a readable and more correct code.