Update the front-end to fix some problems and to make it more nice.