Fixed array out of bounds exception when server shuts down on a window
close.
Merge branch 'basicClientServer' into develop