Added more orderly shutdown
Update jar
Update Javadocs