fix bug where array name wasn't getting updated, plus some formatting fixes
This fixes a bug where the array name wouldn't get updated if the user changed the name in the dialog without changing the array size.
Unfortunately, that meant adding a glist_redraw call for the containing graph.
Should be able to merge once CI is done.