added standalone chat window for debugging purpose