Improve UI.
Fix code errors.