Fixed several small issues and added an install script to update the man db