Add real arg parsing.  Support for tmpfs and threads.

Redid run.sh arg parsing to add in Sasha's need for tmpfs and threads.