Here is an example of completely removing frames in a database. This would work for removing frames at the end or at the beginning of the map. Removing all frames after 1054:
$ sqlite3 map.db "delete from Link where from_id>=1055 or to_id>=1055"
$ sqlite3 map.db "delete from Node where id>=1055"
$ sqlite3 map.db "delete from Data where id>=1055"
$ sqlite3 map.db "delete from Feature where node_id>=1055"
$ sqlite3 map.db "delete from Word where id in (select id from Word left join Feature on id=word_id where node_id is null)"
Note that this hasn't been tested with a new mapping session continuing from this database, where the vocabulary may have words from deleted signatures. By removing word references in Feature table, this should be ok though. For visualization/export, this should work.
cheers,
Mathieu