Looking glegged up, with staring into space with the mouth agape, comes from glegged, which shows up in some old dialect dictionaries meaning “to look askance.” This is part of a complete episode.