You can save a program by going into run mode, making sure your program isn't running, (If it is, just press START or SELECT to stop it) and typing:
SAVE"FILENAME
Obviously "FILENAME" can be whatever you want, as long as it's not too long.
Publishing works by uploading your file (or folder) to the server, and then publishing it go receive a download code. This can all be done in the...