Added make-initial-server-state.
Moved state-loop higher.