implemented show/w/hide chat function in game