FEATURE 13 COMPLETE. CLEAN UP TEMP FILES

tmp files are now removed on exit