fixes #22.  Check to disable table editing in populateTable()