fix loading so it works now (server restart).
save the "pid" when the server is running.
Load index from files, but non-server.