Major fix for ssh streams, script file reference in BearScript, refactorings.

A better hack for ssh stream copying (seems always working with small delay), simple ssh stress test. Code cleanup.