Just change this:
#SupportedOrientations: unspecified
To this:
#SupportedOrientations: portrait
And change these:
#FullScreen: False
#IncludeTitle: True
To this:
#FullScreen: True
#IncludeTitle: False
This will remove the title, make your app full screen, and force portrait mode only.
You don't need to use ph.SetScreenOrientation(1) unless you want to change the orientation during the course of running the app.