Correct tabIndexes

The tabIndexes were wrong; correcting them by using global $sfgTabIndex
and incrementing as needed.

Change-Id: Ic29a0eaedc6970d5e78a5992bb902c638ccab84a