remove reference to last_frame_returned. unneeded and caused a bug
Add MIT License