Clean up movie.cpp/h. Also use size_t for frame counting.

Pretty stupid to use an int for something that will not be negative like this.