print every 5 minutes should stop printing if chat is inactive for those 5 minutes
and when a keypress is detected it should restart. the point is that if a chat window is open and nothing has been typed in it, time will be printed and window will scroll and that distracts the user who might have it open [the window]. Imagine that for one hour how many 5 minutes in grey there would print there.
in order to know what time a message arrived we should when message is received [or sent by us] put a time above it if it's needed [5 minutes have passed that is]
so I think we need a timeout to control the timeout that prints every 5 minutes. cool :)