Removed old deploy scripts

The deploy will most likely be managed using pyinstaller in the future,
so we don't need these files any more.
Fix log-related error messages when exiting application