Fixed smalltalk.py not working when required by the natural agent and never closing when stopping the server