Added some more stuff to get the bluetooth working.