Added main/lib to git/hg ignore.