further renaming Terminal to TermBuffer, fixing browserify export.