Remove spurious TTY and imports, and add a comment indicating the relation between native<-->java example classes.