Bugfix changes

Got driver working, changed HT methods.
delete method not setting element to inactive if the element wasn't put
in the first logical position (delete ID 24 to replicate)