What time was he out pressed against the glass? Could be he was just roaming and you happened to catch him. And once you started moving things around he started tongue-flicking to figure out who/what was around him. If he is constantly pressing on the glass or roaming about during the day there might be a problem, but catching him out once isn't really a big deal. How long have you had him?