Remove sun internal annotation; substitute public one.
Fixed #9.  Split state argument on the commandline; make state argument optional.