bootloader: various minor adjustments and stability fixes
bootloader: various minor adjustments and stability fixes

mrquincle/nRF51-ble-bcast-mesh,mrquincle/nRF51-ble-bcast-mesh,mrquincle/nRF51-ble-bcast-mesh,mrquincle/nRF51-ble-bcast-mesh