Have you got all the libraries imported?
5.1 and 9.19 mean that they haven't been defined or the libraries not imported or that you are compiling for the wrong device.
This has not happened since I posted this question so I am going to mark it solved. I also got an answer to question 2 and am off and running with the device despite not getting any answers here.
@zontex it looks like there has been an update to Bluetooth on UiFlow for Core2: now it appears BLE Central and BLE peripheral options. Do you know what the difference is?