Improving the main program

1. downloading packages from the last time the program was activated and
saving the new time in the configuration file
2. Fixing the value of LoggerFileName in the configuration
3. logging unhandleexception