2FIFO updated to use frame database

It gives the proper results, but seems to be doing more writes/reads
than FIFO.  Will look into it tomorrow.