Implement setEcho and readPassword.
Add notices.
Make setEcho synchronized.