Move bpan/client.bash back into lib
Fix upgrade output