Clean up and fixing

CMD-Remote-Receive.txt has better handling
Fixed prompt()
vars properly returned