Gitignore and comments

Updated gitignore to ignore libs and files resulting from build. Updated
a few comments,