Add mkdir_p.
Revise osx.py statement.
Add StoppableThread.