Several UI bugs fixed.