Additional small changes

Including better documentation and fixing the executable.