fixed calling SetReleaseSettings() and Release() in command line app
updated source code description
added doxygen comments