various UI changes and bug fixes.