Added a row duplicate check upon row deletion.
Refactored table button updates, and included table button updates on ready.