Added lists to InputHTML and modularized validation. Fixed some tests. Again.