Various UI bug fixes.