Don't send logs if game has not started, clear cache at mapchange

Avoid memory leaks by any chance