fixed game cleanup function,  added more info in stats