Added functionality for IR and Sonar Raw data. Added the OI_DUMP functio...

...nality (case 4 of the OI handler). Fixed misc. Compilation issues,