rearranged the basic flow of the server, began output, all too long without comit ..