Adding action for generic saving on each tab

Also minor whitespace and esc_url/esc_attr cleanup