added validation to gui display, code inspection done,