Added client idle times
So I just learned about emake. That makes things easier
Fixed tests now we're building with emake
Setting up as an application as preparation for get_env changes
Fix to quit bug introduced with client idle code