file cleanup, insert/skip/seq fix, other misc features