Modified my SQLite usage so as not to make a slightly dodgy assumption about item ordering and to avoid a whole load of pointless SQL chatter. Specifically: no longer do I perform a full dump and recreate upon every list mutation.