Fix layout computation
Consider width of build menu icon line when finding tooltip width
Remove now-unneeded optimization parameters