Input validation and exception handling completed.
UI improved.