Fix bugs in sending IR codes

Bah, forgot an assignment when shifting the bits to send, messed up a
mark vs space, code clean up. It sends all digits except for 0 now