Fix engine crashes on game end
- frontlib now waits until the engine actually disconnects
- engine does not write round-end stats to stdout anymore on mobile (caused crash)
- Removed HWTerminate function binding for android (not threadsafe,
better send "eforcequit" over IPC for the same effect)