Merge "Add error handling when running out of free frame buffers."