Dump of progress on IR decoders.  Changes to encoder to not be so full int heavy in writing