Java tutorial corrections and clarifications