Updated for compatibility with Mavericks, Fixed the build to create an app bundle