Fix bar chart exception.

Avoid a NPE when the expecteds array is null when
generating a bar chart.
Merge pull request #15 from christophercarr/graphfix

Fix bar chart exception.
Prevent duplicate input form submissions

Disable input form while we wait for server to ACK submission.