1. Fix UI bugs.