Split out ui builder code.
Implement reverse lookup.
Fix history navigation.  Make block title clickable.