small cleanup and optimizations from storymaker

more progress on tuning the API and some of the MPEG conversion efficiency