Replaced showmask with imoverlay. Also working on making nice-looking videos.