Improvements to osxappbundle plugin