Adding a background, server side saving procedure.  Still requires much commenting and cleanup.