Improve ergonomics of error checking.
Use pop-up message box instead of console message.
Switch focus to field in error.