Fix main.py script and update setup script to use py2app instead