Add .gitignore
Fix NullPointerErrors on OS X/Java 1.8 (handle null return from JTabbedPane.getBoundsAt(int))