Added docstrings to logstate.py

darcs-hash:20091112092927-58252-8ea7a9629b4fe24a14fe6d525374e55dfabdccf8
Added docstrings for ui.py

darcs-hash:20091112093305-58252-a27520f7d14234aa086f77b0fb298fa65196ff20