Fixed docs and other minor issues
fixed distcheck issues