Code cleanup and commenting.
Only add freeze support when frozen :)
Catch missing frame rate in xmlgen. Default to timebase of 30.