get updates in ft layer to be aware of flags
fix cursors to take prepend bytes into account
remove unused function
fix writes and other db functions to take prepend bytes into account.
Still need to handle stats and update broadcast
temporarily disable memcmp_magic