fix undetected failure
add .idea files to gitignore
update OSX examples
update example files