Bug fix and readability improvement

Added helper class with extension methods
Fixed bug with calling reading of disposed stream