Added :every parameter to framedump, for dumping selected frames only.