Direct Input works

Sorted direct input. Also commented out large chunks of broken code in
check.jsp.