ErrorChecker class function
SuppierGUI with error checking