avi support added; saving results bug fixed; makefile bug fixed; run script for unix updated