added panel for displaying errors to user from Ryan