Finished implementation of commandline arg controlled initialization.
Fix bug affecting unlimited recording
Fixed loop export file path bug.