Enclosing func calls in ifmain idiom for pirateTracks, adding test_wrapper to
strip away the delays and input requests for testing pirateTracks.
Merge pull request #1 from r3/master

Test wrapper