add fix for shutdown ref http://opensimulator.org/viewgit/?a=commitdiff&p=opensim&h=3eee991935393feeee753ced28c794f12367f19d
and revs current shutdown restart changes