Ticket 194 - Posterior segment check for wrong eye causing null pointer
exception. Also, fixed some jsp mistakes.