added support for interrupts and fixed busy check. No more garbled text! (hopefully...)