Adde Mac files and tmp directory to gitignore.
Fixed handling of "upper directory" with "up" button. Closes #16.

The up button know does not produce "."  directories anymore.