Changed resizing strategy.
Added code to handle stream error.
Merge branch 'master' of https://github.com/Markavian/HackManchester