Worked on input buffer and interrupts.