Fixing up UI and revision display logic