Renamed StringBuffer to Fifo.
Minor bugfixes.