update to the editcur function. Not entering a privatekey was causing an incorrect message to be displayed. if needed to be elif. also capitalised a P in Please wait...