fixed some errors - still not receiving complete data
added fifo lib