Merge pull request #279 from pisaychuk/processUI

testTerminals() added
java doc added