added some error alert for when things go wrong on the server. Fixed bug when copying commands between branches