Anno-tool: bit of refactoring in layouts.js.
Label button layout code in progress.