Run down script when closing app on Windows

Also add warnings when trying to daemonize on Windows.

Currently I prefer not to add daemon support in the main app. Maybe we can write a service wrapper for the main app to register as a background service on Windows. That'll be more Windows-style. :)