Finishes the FIFO section, and general cleanup

Project finished (hopefully). 21 hours.