Fixed some issues transitioning from PRX to PTX
Example for an application that switches between PRX and PTX as needed