Added infra-red support, screenmode toggling now happens immediately, though the OSD has trouble keeping up.