trying to clean up messages in GUI