Pushed changes to myPTM.

Fixed the race condition I believe. I think the segfault may be coming
from the scheduler now. Looking into now.