Added bottom bar and modal window. Added rudimentary error handling.