Fixed error noticed by David Case - duplicate saveframe name
Part 2: Fixed error noticed by David Case - made framecde consistent with change
Merge pull request #3 from rhfogh/master

Fixed duplicate saveframe code (thanks to David Case)