Complete rewrite of Toolbox alignment.