Styled the UI and some minor functional changes to it.