implemented table sort, and subtiming, and delete, improved master, bug in undifined state of master upon settle