Fixed advanced space not submitting.

If 'OK' or Enter were pressed before leaving the advanced horizontal or vertical space textboxes, their values weren't submitted. Fixed by moving updateStyle() above waitLoad() in onSubmitForm().