product editor - bug fix

leaving and returning to inventory panel was causing records to
double-load.
IE bug fix

IE barfing on const declaration.