Fixed bug where id added to NameIdMap was...

2000, 2001, etc and not 0, 1, etc when adding new metabolites when
editing reactions in blank tables. Bug - formula bar updates twice.