Converted tabs to spaces and fixed gs_chat