Various fixes. Improved commands documentation.