A little bit of front-end and error handling.