Added in simpleserve and fixed s.close error Joshua noticed.