ai server mode handle multi game input stream
warning fixes