Minor UI Bug Fixes

We've been migrating our codebase to TypeScript and this has exposed a number of subtle bugs in the UI. We just fixed another batch of them and will continue to fix more over time.