Added a lot of UI features.