now send the device name when pairing. also fixed null-terminating buffers that caused all kinds of problems