fixed bugs:

disable send interrupt if queue is empty
test fifo full before writing to output queue