Get the stream terminating if the game has terminated
Tidy up the stream implementation and tests
Added trival stream test, containing the mind bending basics