Fix bug that didn't check for empty form.
Corrected url case/bug for graphpage display.
Corrected potential bug for an empty form.