adding more debug tools (throw before get bad indexes)
fix wrapping mode
remove some comments
set mono stream by default