Change .hgignore over to .gitignore.
Update the memory-cap example to show setting the output memory cap.
Fix a bug where the new memory wasn't being zero'ed correctly.
Add a malloc check to set_clock_bits.
Fix a potential memory leak when creating a new frame fails.