Otherwise the raw_input() keeps waiting and select() eventually takes over. This should be done in the engine as well a map.