Issue 3. Settings and log not saved in program directory.