Finished most of UI.