Octet mode functional / more error handling

please don't read this stuff