Added video datahandler, support for rectangular images, minor edits.