Fixed a couple of bugs in mp4 edit