Fixed some bugs that were in the code.  Merged frames to use Multisource frames for performance.