Attempted fix at bad bluetooth state, and additional logging