Several UI fixes.