Made a considerable number of changes to make the UI more responsive.